package com.base.mapper.voipmapper;

import com.base.po.voip.NewsInsertRecord;
import com.base.po.voip.NewsInsertRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NewsInsertRecordMapper {
    int countByExample(NewsInsertRecordExample example);

    int deleteByExample(NewsInsertRecordExample example);

    int insert(NewsInsertRecord record);

    int insertSelective(NewsInsertRecord record);

    List<NewsInsertRecord> selectByExample(NewsInsertRecordExample example);
    
    List<NewsInsertRecord> selectByParentid(String parentid);
    
    NewsInsertRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") NewsInsertRecord record, @Param("example") NewsInsertRecordExample example);

    int updateByExample(@Param("record") NewsInsertRecord record, @Param("example") NewsInsertRecordExample example);
}